import { orderService } from '../services/order.service';
import { OrderCreateDto, OrderListDto, OrderSingleDto, OrderUpdateDto } from '../dtos/order.dto';
import { BaseController } from './.controller';
import OrderModel from '../models/order.model';

class OrderController extends BaseController<OrderModel, OrderListDto, OrderSingleDto, OrderCreateDto, OrderUpdateDto> {
  constructor() {
    super(orderService);
  }
}

export const orderController = new OrderController();
